<!-- Dom页面 -->
<template>
  <div id="TestIndex">
    测试页面
    <div style="width: 100%;height: 800px;margin-top: 200px">
      <gd_wordeditor :value="mainDocs" @change="dd"/>
    </div>

  </div>
</template>

<!-- 组件js -->
<script>
import gd_wordeditor from '@/components/mycomponents/gd_wordeditor';
export default {
  name: "TestIndex",
  components:{gd_wordeditor},
  data() {
    return {
      mainDocs:"<h1>你好</h1>"
    };
  },
  methods:{
    dd(data){
        this.mainDocs = data;
    }
  }
};
</script>

<!-- CSS代码 -->
<style scoped></style>
